package com.muyu.system.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 旗舰店关注对象 danmo_user_flagship
 * 
 * @author kunzong
 * @date 2024-12-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoUserFlagship extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 旗舰店关注唯一ID */
    private Long id;

    /** 关注者ID */
    @Excel(name = "关注者ID")
    private Long userId;

    /** 店铺ID */
    @Excel(name = "店铺ID")
    private Long flagshipId;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("flagshipId", getFlagshipId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
